package com.zwcloud.zw.railway.service;

import org.springframework.http.ResponseEntity;

public interface TrainService {

    // 调用 addFreightYardDivision 接口
    ResponseEntity<String> callAddFreightYardApi();

    // 检查是否有新增数据并触发接口调用
    void checkForNewDataAndCallApi();

    // 调用定时任务中的逻辑
    void checkFoDataAndCallApi();

    //
    void checkTwoMonthDataAndCallApi();

}
